Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.user.center.action.widgets--widgets

This contribution is part of XML component org.nuxeo.ecm.user.center.action.widgets inside nuxeo-user-center-9.10.jar /OSGI-INF/action-widgets-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="homeTabs" type="tabs">
          <properties mode="view">
            <property name="actionsDisplay">links</property>
            <property name="addForm">true</property>
            <property name="useAjaxForm">#{useAjaxTabs}</property>
            <property name="category">USER_CENTER</property>
            <property name="actions">#{userCenterViews.availableActions}</property>
            <property name="currentTabAction">#{userCenterViews.currentView}</property>
            <property name="overallDisplay">vertical_block</property>
          </properties>
        </widget>
  • <widget name="userCenterSubTabs" type="tabs">
          <properties mode="view">
            <property name="actionsDisplay">links</property>
            <property name="addForm">true</property>
            <property name="useAjaxForm">#{useAjaxTabs}</property>
            <property name="actions">
              #{userCenterViews.availableSubActions}
            </property>
            <property name="currentTabAction">#{userCenterViews.currentSubView}</property>
            <property name="hideSingleTab">
              #{not
              currentUserCenterView.properties.alwaysDisplaySubTabs}
            </property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="homeTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">#{useAjaxTabs}</property>
        <property name="category">USER_CENTER</property>
        <property name="actions">#{userCenterViews.availableActions}</property>
        <property name="currentTabAction">#{userCenterViews.currentView}</property>
        <property name="overallDisplay">vertical_block</property>
      </properties>
    </widget>

    <widget name="userCenterSubTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">#{useAjaxTabs}</property>
        <property name="actions">
          #{userCenterViews.availableSubActions}
        </property>
        <property name="currentTabAction">#{userCenterViews.currentSubView}</property>
        <property name="hideSingleTab">
          #{not
          currentUserCenterView.properties.alwaysDisplaySubTabs}
        </property>
      </properties>
    </widget>

  </extension>